package yf.mall.dao;

import com.yf.dao.BaseDao;
import yf.mall.entity.CourseCardEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 课程卡券Dao
 *
 * @author hxf
 * @email 505860922@qq.com
 * @date Mon Oct 21 08:39:57 CST 2019
 */
@Mapper
public interface CourseCardDao extends BaseDao<CourseCardEntity> {

    /**

        List<CourseCardVo> queryListVo(CourseCardVo courseCardVo);

        CourseCardVo getVo(Long id);

    **/

  List<CourseCardEntity> findByUserId(Long userId);

  CourseCardEntity findByCode(String code);

}
